package org.dromara.lsc.domain.bo;

import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;
import org.dromara.lsc.domain.PredictLsc;

/**
 * 【请填写功能名称】业务对象 predict_lsc
 *
 * @author Lion Li
 * @date 2023-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = PredictLsc.class, reverseConvertGenerate = false)
public class PredictLscBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 训练策略
     */
    @NotNull(message = "训练策略不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long stragyId;

    /**
     * 测试集
     */
    @NotNull(message = "测试集不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long testId;

    /**
     * 预测周期
     */
    @NotNull(message = "预测周期不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long predCircle;

    /**
     * 历史预测
     */
    @NotBlank(message = "历史预测不能为空", groups = { AddGroup.class, EditGroup.class })
    private String historyPred;


}
